package com.huan.nacos;

import com.alibaba.nacos.api.exception.NacosException;
import com.alibaba.nacos.api.naming.NamingFactory;
import com.alibaba.nacos.api.naming.NamingService;

import java.util.concurrent.TimeUnit;

public class Test1 {
    public static void main(String[] args) throws NacosException, InterruptedException {
        NamingService namingService = NamingFactory.createNamingService("localdev:8848");

        namingService.deregisterInstance("my-nacos","192.168.31.130",9527);


    }
}
